import request from '@/utils/request'

//获取学时记录列表
export function queryDurationList(params) {
	return request({
		method: 'get',
		url: 'sysDurationLog/list',
		params
	})
}

//添加学时记录
export function addedDurationLog(data) {
	return request({
		method: 'post',
		url: 'sysDurationLog/add',
		data,
	})
}

//批量删除学时记录
export function batchDeleteDuration(data) {
	return request({
		method: 'post',
		url: 'sysDurationLog/deleteBatch',
		data
	})
}